package com.function;

import java.util.function.Consumer;

public class CondumerDemo {
    public void processData(Consumer<String> consumer, String data) {
        consumer.accept(data);
    }
}
